package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * 功能简述:
 *
 * @author 86156
 * @date: 2024/09/09
 */
@Mapper
public interface ShoppingCartMapper {
    void insert(ShoppingCart shoppingCart);

    List<ShoppingCart> list(ShoppingCart shoppingCart);

    void updateNumberById(ShoppingCart shoppingCart);

    List<ShoppingCart> selectByUserId(Long currentId);

    void delete(ShoppingCart shoppingCart);
}
